﻿using System;
using Script.NetSystem.Services.RoomAndBattle.RoomService;
using Script.UiSystem.Room;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;

namespace Script.UiSystem
{
    public class RoomManager : MonoBehaviour
    {

        public void LeaveRoom()
        {
            RoomController.Instance.RoomClient.LeaveRoom();
        }

        public void Ready()
        {
            RoomController.Instance.RoomView.DoReady();
        }
        
    }
}